package cn.com.wxd.service.attach;

public class AttachConfEntity {
    private String name;
    private String description;
    private String paramname;
    private String type;
    private String path;
    private String recorddb;
    private boolean isBpcont;
    private boolean isDownload;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getParamname() {
        return paramname;
    }

    public void setParamname(String paramname) {
        this.paramname = paramname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isRecorddb() {
        if (recorddb != null && recorddb.trim().equalsIgnoreCase("true")) {
            return true;
        }
        return false;
    }

    public void setRecorddb(String recorddb) {
        this.recorddb = recorddb;
    }

    public boolean isBpcont() {
        return isBpcont;
    }

    public void setIsBpcont(String strIsBpcont) {
        if (strIsBpcont != null && strIsBpcont.equalsIgnoreCase("true")) {
            this.isBpcont = true;
        } else {
            this.isBpcont = false;
        }
    }

    public boolean isDownload() {
        return isDownload;
    }

    public void setIsDownload(String isDownload) {
        if (isDownload != null && isDownload.equalsIgnoreCase("true")) {
            this.isDownload = true;
        } else {
            this.isDownload = false;
        }
    }
}
